home *** CD-ROM | disk | FTP | other *** search
- >
- >What I want to do is use AmosPro to create a file in Ram called Datapath
- >and then execute it with Amiga dos.
- >If you look at the example below it should create a file called Datapath
- >containing "CD workbench:data".
- >
- >a$="workbench:data"
- >C$="CD "
- >A$=C$+A$
- >Open Out 3,"Ram:Datapath"
- >Print #3,A$
- >Print #3,Chr$(13)
- >Close 3
-
- If you write your info to a bank and Bsave from it you eliminate the
- extra characters. But in this case, how about quick & dirty with the
- CLI echo command?
-
- A$="CD workbench:data"
- exec "echo "+A$+" >ram:Datapath" :Rem Keep those spaces
-
- Mike
-
-